<!DOCTYPE html>
<html>
<head>
	<title>信息列表</title>
	<link rel="stylesheet" type="text/css" href="/Template/admin/default/css/css.css">
</head>
<body>
<div class="content">
	<div class="curr-position">当前位置：信息管理</div>
	<div class="page-top">
		<span class="fl"><a href="{{:U('admin/info/insert')}}">+ 增加信息</a></span>
		<span class="fr"><a href="javascript:location.reload();">刷新</a></span>
	</div>
	<table class="data-tab">
		<thead>
			<tr>
				<th class="id">ID</th>
				<th>账户</th>
				<th>姓名</th>
				<th>密码</th>
				<th>区域</th>
				<th>数据</th>
				<th>端口</th>
				<th>维护员</th>
				<th>录入时间</th>
				<th class="operation">操作</th>
			</tr>
		</thead>
		<tbody>
		<volist name="infolist" id="vo">
			<tr>
				<td class="id">{{$vo.id}}</td>
				<td>{{$vo.account}}</td>
				<td>{{$vo.name}}<br>[ {{$vo.psn}} ]</td>
				<td>{{$vo.password}}</td>
				<td>{{$vo.area_name|default='----'}}</td>
				<td style="width: 240px;line-height: 1.2;padding: 3px;color: #f60;">{{$vo.data|default='----'}}</td>
				<td style="color: #f60;">{{$vo.port|default='----'}}</td>
				<td>{{$vo.charger_name}}<br>{{$vo.charger_tel}}</td>
				<td>{{$vo.posttime|dateFormat='full'}}</td>
				<td>
				 <a href="{{:U('admin/info/edit',array('id'=>$vo[id]))}}">编辑</a> <a href="{{:U('admin/info/delete',array('id'=>$vo[id]))}}">删除</a></td>
			</tr>
		</volist>
		</tbody>
	</table>
	<div class="pagenation">{{$page}}</div>
</div>
</body>
</html>